package tag.data;

import com.opensymphony.webwork.ServletActionContext;
import com.opensymphony.xwork.ActionSupport;

@SuppressWarnings("serial")
public class ActionTagAction extends ActionSupport {

	public String execute() throws Exception {
		ServletActionContext.getRequest().setAttribute("stringByAction",
				"This is a String put in by the action's execute()");
		return "done";
	}

	public String doDefault() throws Exception {
		ServletActionContext.getRequest().setAttribute("stringByAction",
				"This is a String put in by the action's doDefault()");
		return "done";
	}
	
	public String special() throws Exception {
		ServletActionContext.getRequest().setAttribute("stringByAction",
				"This is a String put in by the action's special()");
		return "done";
	}
}